#pragma once
#include "PrimitiveParser.h"

class RectangleParser :
	public PrimitiveParser
{
public:
	float x1,y1,x2,y2;

	RectangleParser(void);
	~RectangleParser(void);

	Primitive getType() {return RECTANGLE;}
	RectangleParser(float x1, float y1, float x2, float y2, string tx_id, string mat_id);

	void render();
	void render(TextureParser* tx);
};

